package com.stqf.scala.domain.dto;

/**
 * Created By stqf
 * <br/>Date: 2025/5/8 14:35
 * <br/>Description:
 */
public class AreaDTO {

    private Integer id;

    private String code;

    private String name;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static AreaDTO of(Integer id, String code, String name) {
        AreaDTO item = new AreaDTO();
        item.setId(id);
        item.setCode(code);
        item.setName(name);
        return item;
    }

}
